export function validatPhone(str) {
  const reg = /^1[3|4|5|7|8][0-9]\d{8}$/
  return reg.test(str)
}
var blur = { required: true, message: '必填项不能为空', trigger: 'blur' };
var change = { required: true, message: '必填项不能为空', trigger: 'change' };
var phone = { pattern: /^1[34578]\d{9}$/, message: '请输入正确的11位手机号码', trigger: 'blur' };

export { blur, change, phone }
